package com.ny.service;

import com.ny.entity.Users;

public interface UserService {
    Users login(String username, String password);
    int allUserName(Users users);
    Users getUserById(int userId);
    boolean updatePhoneNumber(int userId, String newPhoneNumber);
    boolean updatePassword(int userId, String oldPassword, String newPassword);
    Users getCenterUserById(int userId);
    int updateCenterPhoneNumber(int userId, String phoneNumber);
    int updateCenterPassword(int userId, String newPassword);
}
